<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>button-hover-shrink-animation</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body,html {
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .shrink-button {
            display: inline-block;
            color: #65b5f6;
            background-color: transparent;
            border: 1px solid #65b5f6;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .shrink-button:hover {
            transform: scale(.8);
        }
    </style>
</head>
<body>
    <button class="shrink-button">submit</button>
</body>
</html>